package com.e3.basdoc.goodscls.server;

import com.e3.basdoc.goodscls.service.GoodsClsQueryService;
import com.e3.basdoc.goodscls.service.GoodsClsService;
import com.e3.core.base.ServiceLocator;

public class GoodsClsServiceClient {
	
	private static GoodsClsQueryService goodsClsQueryService;
	
	private static GoodsClsService goodsClsService;
	
	public static GoodsClsQueryService getGoodsClsQueryService(){
		if(goodsClsQueryService == null){
			goodsClsQueryService = ServiceLocator.getQueryService(GoodsClsQueryService.class);
		}
		return goodsClsQueryService;
	}
	
	public static GoodsClsService getGoodsClsService(){
		if(goodsClsService == null){
			goodsClsService = ServiceLocator.getService(GoodsClsService.class);
		}
		return goodsClsService;
	}


}
